package service.impl;

import models.Employment;
import processor.EmploymentProcessor;
import service.EmploymentService;

public class EmploymentServiceImpl extends AbstractServiceImpl implements EmploymentService {

    protected Employment dbemployment;

    public EmploymentServiceImpl() {
        this.dbemployment = new Employment();
    }

    public EmploymentServiceImpl(Employment employment) {
        this.dbemployment = employment;
    }

    @Override
    public EmploymentProcessor getProcessor() {
        // TODO Auto-generated method stub
        return new EmploymentProcessor(this.dbemployment);
    }

}
